#!/usr/bin/env bash
# Minimum requirements to run ./build --download-dependencies
if [ $# -eq 1 ]; then
  y=-y
else
  y=
fi
if [ -f /.dockerenv ]; then
  sudo=
else
  sudo=sudo
fi
$sudo apt-get update
$sudo apt-get install $y \
  git \
  python3 \
  python3-pip \
  python3-distutils \
;
python3 -m pip install --user -r requirements.txt
